/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class Address {
    /**
     * address.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * address.user_id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long userId;

    /**
     * address.address
     * .详细收获地址
     * VARCHAR(200)
     *
     * @mbggenerated
     */
    private String address;

    /**
     * address.postcode
     * 邮编
     * VARCHAR(10)
     *
     * @mbggenerated
     */
    private String postcode;

    /**
     * address.phone
     * 收货人电话
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String phone;

    /**
     * address.name
     * 收货人地址
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String name;

    /**
     * address.type
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * address.status
     * 0：普通地址2:默认地址-8：删除的地址
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * address.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * address.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * address.attribute
     * 
     * VARCHAR(3000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * address.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * address.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * address.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * address.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Long getUserId() {
        return userId;
    }

    /* @mbggenerated */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /* @mbggenerated */
    public String getAddress() {
        return address;
    }

    /* @mbggenerated */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /* @mbggenerated */
    public String getPostcode() {
        return postcode;
    }

    /* @mbggenerated */
    public void setPostcode(String postcode) {
        this.postcode = postcode == null ? null : postcode.trim();
    }

    /* @mbggenerated */
    public String getPhone() {
        return phone;
    }

    /* @mbggenerated */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /* @mbggenerated */
    public String getName() {
        return name;
    }

    /* @mbggenerated */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
}